
<template>
  <router-view></router-view>
</template>

<script setup lang="ts">
import useStore from './store/user'
const userStore = useStore();

if (sessionStorage.getItem('user')) {
  let user = JSON.parse(sessionStorage.getItem('user'))
  userStore.setUser(user)
}
</script>

<style scoped>

</style>
